package com.example.demo.nuoqi.service;

import com.example.demo.nuoqi.pojo.Resumemanagement;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:Resumemanagement业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface ResumemanagementService {

    /***
     * Resumemanagement多条件分页查询
     * @param resumemanagement
     * @param page
     * @param size
     * @return
     */
    PageInfo<Resumemanagement> findPage(Resumemanagement resumemanagement, int page, int size);

    /***
     * Resumemanagement分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<Resumemanagement> findPage(int page, int size);

    /***
     * Resumemanagement多条件搜索方法
     * @param resumemanagement
     * @return
     */
    List<Resumemanagement> findList(Resumemanagement resumemanagement);

    /***
     * 删除Resumemanagement
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改Resumemanagement数据
     * @param resumemanagement
     */
    void update(Resumemanagement resumemanagement);

    /***
     * 新增Resumemanagement
     * @param resumemanagement
     */
    void add(Resumemanagement resumemanagement);

    /**
     * 根据ID查询Resumemanagement
     * @param id
     * @return
     */
     Resumemanagement findById(Integer id);

    /***
     * 查询所有Resumemanagement
     * @return
     */
    List<Resumemanagement> findAll();

    List<Resumemanagement> findCurrentUserResume(Integer id);
}
